module.exports = {
  up: async (queryInterface, Sequelize) => {
    const {
      INTEGER,
      STRING
    } = Sequelize;
    await queryInterface.createTable('info', {
      id: {
        type: INTEGER,
        primaryKey: true,
        autoIncrement: true
      },
      user_id: INTEGER,
      nickname: STRING(20),
      introduction: STRING(200),
    });
  },
  down: async queryInterface => {
    await queryInterface.dropTable('info');
  },
};